﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace S.RBAC.Domain.Model
{
    /// <summary>
    /// 部门类型
    /// </summary>
    [Table("DepartType")]
    public class DepartType
    {
        /// <summary>
        /// 部门类型Id
        /// </summary>
        [Key]
        public int DepartTypeId { get; set; }

        /// <summary>
        /// 部门类型名称
        /// </summary>
        [MaxLength(20)]
        public string? DepartTypeName { get; set; }
    }
}
